package com.example.config.demo.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/Prop")
@RestController
public class PropertiesController {
    @Value("${font.size}")
    private String fontSize;
    @RequestMapping("/getValue")
    public String getValue() {
        return "fontSize"+fontSize;
    }
}
